package org.act.xservices.rt.xcontainer.info.soap;

import java.util.List;

/**
 * 
 * @author Lizq [lizq@act.buaa.edu.cn]
 * 2007-10-12
 */

public class SOAPMessage {

	private SOAPEnvelope soapEnvelope;
	
	private List<MIMEPart> attachments;

	public SOAPMessage(){
		
	}
	
	public SOAPMessage(SOAPEnvelope soapEnvelope){
		this.soapEnvelope = soapEnvelope;
	}
	
	public SOAPMessage(SOAPEnvelope soapEnvelope, List<MIMEPart> attachments){
		this.soapEnvelope = soapEnvelope;
		this.attachments = attachments;
	}
	
	
	public List<MIMEPart> getAttachments() {
		return attachments;
	}

	public void setAttachments(List<MIMEPart> attachments) {
		this.attachments = attachments;
	}

	public SOAPEnvelope getSoapEnvelope() {
		return soapEnvelope;
	}

	public void setSoapEnvelope(SOAPEnvelope soapEnvelope) {
		this.soapEnvelope = soapEnvelope;
	}
}
